﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Nucleic.Core.DoMain
{
    /// <summary>
    /// 样本主表
    /// </summary>
    [SugarTable("sample_info")]

    public class sample_info
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]

        public int sample_id { get; set; }
        /// <summary>
        /// 样本条码号
        /// </summary>
        public string sample_qrcode { get; set; }

        /// <summary>
        /// 对应检测类型
        /// </summary>
        public int type_id { get; set; }

        /// <summary>
        /// 样本管启用时间
        /// </summary>
        public DateTime scan_time { get; set; }
        /// <summary>
        /// 封管时间
        /// </summary>
        public DateTime? end_time { get; set; }
        /// <summary>
        /// 送检时间
        /// </summary>
        public DateTime? send_time { get; set; }
        /// <summary>
        /// 0=采样中,1=已封管,2=已送检,3=已入库,4=已报告
        /// </summary>
        public string status { get; set; }

        public string oper_id { get; set; }
    }
}
